package dancespeedyenumsmysql

type AnniversaryEnums struct {
}

var AnniversaryEnumsObject AnniversaryEnums

const (
	// 奖品发放来源
	AnniversaryPrizeSourceFortuneCardCompound = 1 //福卡合成奖励

)

func (e AnniversaryEnums) AnniversaryTaskType() []int {
	return []int{
		AnniversaryPrizeSourceFortuneCardCompound,
	}
}

func (e AnniversaryEnums) AnniversaryTaskMap() map[int]int {
	m := make(map[int]int)
	for _, s := range e.AnniversaryTaskType() {
		m[s] = s
	}
	return m
}

func (e AnniversaryEnums) AnniversaryTaskNameMap() map[int]string {
	m := make(map[int]string)
	for _, s := range e.AnniversaryTaskType() {
		m[s] = e.AnniversaryTaskTypeString(s)
	}
	return m
}

func (e AnniversaryEnums) AnniversaryTaskTypeString(tag int) string {
	switch tag {
	case AnniversaryPrizeSourceFortuneCardCompound:
		return "福卡合成奖励"
	default:
		return "未知"
	}
}
